package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-01-10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEK_T")
public class GwekT extends PO<GwekT> {

    private static final long serialVersionUID = 1L;

    /**
     * 集团编号
     */
    @TableId(value = "GWEKENT", type = IdType.INPUT)
    private String GWEKENT;
    /**
     * 建立日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEKDOCDATE;
    /**
     * 币种
     */
    private String GWEK001;
    /**
     * 年月
     */
    private String GWEK002;
    /**
     * 银行买入汇率
     */
    private Double GWEK003;
    /**
     * 银行卖出汇率
     */
    private Double GWEK004;
    /**
     * 银行中价汇率
     */
    private Double GWEK005;
    /**
     * 海关买入汇率
     */
    private Double GWEK006;
    /**
     * 海关买出汇率
     */
    private Double GWEK007;
    /**
     * 月底重评汇率
     */
    private Double GWEK008;
    /**
     * 备注
     */
    private String GWEK009;
    /**
     * no use
     */
    private String GWEK101;
    /**
     * no use
     */
    private String GWEK102;
    /**
     * no use
     */
    private String GWEK103;
    /**
     * no use
     */
    private String GWEK104;
    /**
     * no use
     */
    private String GWEK105;
    /**
     * no use
     */
    private String GWEK106;
    /**
     * no use
     */
    private String GWEK107;
    /**
     * no use
     */
    private String GWEK108;
    /**
     * 所属营运中心
     */
    private String GWEKPLANT;
    /**
     * 所属法人
     */
    private String GWEKLEGAL;
    /**
     * 资料有效码
     */
    private String GWEKACTI;
    /**
     * 资料所有者
     */
    @TableField(fill = FieldFill.INSERT)
    private String GWEKUSER;
    /**
     * 资料所有部门
     */
    @TableField(fill = FieldFill.INSERT)
    private String GWEKGRUP;
    /**
     * 资料修改者
     */
    @TableField(fill = FieldFill.UPDATE)
    private String GWEKMODU;
    /**
     * 资料时间
     */
    @TableField(fill = FieldFill.INSERT)
    private String GWEKTIME;
    /**
     * 资料建立日期
     */
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEKDATE;
    /**
     * 资料建立部门
     */
    @TableField(fill = FieldFill.INSERT)
    private String GWEKORIG;
    /**
     * 资料建立者
     */
    @TableField(fill = FieldFill.INSERT)
    private String GWEKORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWEKENT;
    }

}
